tools/check: Add explicit include path for funcs.sh.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 23 Jan 2008 11:21:35 +0000 (11:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 23 Jan 2008 11:21:35 +0000 (11:21 +0000)
When the current directory is not in $PATH,
then the patch fixes the following errors:

Checking check_brctl: .: funcs.sh: not found
Checking check_crypto_lib: .: funcs.sh: not found
Checking check_curl: .: funcs.sh: not found
Checking check_iproute: .: funcs.sh: not found
Checking check_python: .: funcs.sh: not found
Checking check_python_xml: .: funcs.sh: not found
Checking check_udev: .: funcs.sh: not found
Checking check_xml2: .: funcs.sh: not found
Checking check_zlib_lib: .: funcs.sh: not found

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
14 files changed:
tools/check/check_brctl
tools/check/check_crypto_lib
tools/check/check_curl
tools/check/check_iproute
tools/check/check_openssl_devel
tools/check/check_python
tools/check/check_python_devel
tools/check/check_python_xml
tools/check/check_udev
tools/check/check_x11_devel
tools/check/check_xgettext
tools/check/check_xml2
tools/check/check_zlib_devel
tools/check/check_zlib_lib

index 782af5a06f176a22264f29c6db46bf1d25feb502..5b3f2b4cfb24532de206f4dad88987b946ddceed 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 case $OS in
 OpenBSD|NetBSD|FreeBSD)
index 1292d791d1b91441ccfd20d49b024c9a2dfde94e..af27da6521ef1927f11351fa21b2747e2865e992 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 case $OS in
 FreeBSD|NetBSD|OpenBSD)
index eb6add3ef4e1fc8cafc7600c85d605f02a1926d8..a001e7e437c43cb5af3374fb0da33c4f61a33dff 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 if [ "$LIBXENAPI_BINDINGS" != "y" ]; then
        echo -n "unused, "
index a900165436a899f5df0aad99519ea2a365d2eba5..2208944fb521f37a3939708475df3c19e2c31cbb 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 PATH=/sbin:$PATH
 
index 1b4d1581cddaa695421322d8cfcf9cbe29f5c15e..e5ca03d2ca4b082cc6c17805e193603bbf918038 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # CHECK-BUILD
 
-. funcs.sh
+. ./funcs.sh
 
 has_header openssl/md5.h || fail "missing openssl headers"
index feeb6fc5b0955c3658b65cb5993150c9221a58f6..229809fd48e1dd1633fe840a68031d1140288d3b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 python -c '
 import sys
index 7630bb0241e9391ad760f9905ce9ce7cad293149..98d448f4744e65244233bab56bd1577a7d9480d2 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD
 
-. funcs.sh
+. ./funcs.sh
 
 python -c '
 import os.path, sys
index 879c8a82d4675e9acaccccb0a6e167f96b734d5f..6b65c463c06b058125aa160e42bebdf7abcdfbc1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 python -c 'import xml.dom.minidom' 2>/dev/null || \
 fail "can't import xml.dom.minidom"
index 169632bc355312606addc59c02b80015f0f78bbe..3deaa36ccb6295517155d19d5168c62c93844e02 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 case $OS in
 OpenBSD|NetBSD|FreeBSD)
index 6956ce034b1f3198f18a2dfedf6b41d809bc1601..aab7e42cda357728ef0bc48eeecc922cc7f332e1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD
 
-. funcs.sh
+. ./funcs.sh
 
 has_header X11/keysymdef.h || \
 has_header /usr/X11R6/include/X11/keysymdef.h || \
index ac66e6864c10a57b2e03bc92a94c49580ca62cb6..7e9fa2aada03d4ce21e6b96d611b0891fc897579 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # CHECK-BUILD
 
-. funcs.sh
+. ./funcs.sh
 
 has_or_fail xgettext
index 8b1adbfdc090d7a3db9d734c6b76cde9c5ac9369..caa762c4e309fb0ca8db37e713a9bf742e1fd038 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 if [ ! "$LIBXENAPI_BINDINGS" = "y" -a ! "$ACM_SECURITY" = "y" ]
 then
index 33236de872804219290b94bf55469419f6a4cb0c..2fc0165c219f2ac1c70a619a11cc25ec75037361 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # CHECK-BUILD
 
-. funcs.sh
+. ./funcs.sh
 
 has_header zlib.h || fail "can't find zlib headers"
index 804b78374ebe969cb7c240bdfa925f60d5662fcc..be8cf05e3fcf02850d9051a2e3de941c00976f17 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # CHECK-BUILD CHECK-INSTALL
 
-. funcs.sh
+. ./funcs.sh
 
 case $OS in
 FreeBSD|NetBSD|OpenBSD)